package com.wn.purchaeReturn.dao;

import com.wn.purchaeReturn.entity.PurPurchasebill;
import com.wn.purchaeReturn.entity.PurPurchasebillExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PurPurchasebillDao {
    long countByExample(PurPurchasebillExample example);

    int deleteByExample(PurPurchasebillExample example);

    int deleteByPrimaryKey(String purchaseno);

    int insert(PurPurchasebill record);

    int insertSelective(PurPurchasebill record);

    List<PurPurchasebill> selectByExample(PurPurchasebillExample example);

    PurPurchasebill selectByPrimaryKey(String purchaseno);

    int updateByExampleSelective(@Param("record") PurPurchasebill record, @Param("example") PurPurchasebillExample example);

    int updateByExample(@Param("record") PurPurchasebill record, @Param("example") PurPurchasebillExample example);

    int updateByPrimaryKeySelective(PurPurchasebill record);

    int updateByPrimaryKey(PurPurchasebill record);

    List<PurPurchasebill> selectAll();
}